/**
 * <p>标签控件</p>
 * xtype = cceaflabel

 * @module Ext-ux-cceaf-control
 * @class cceaf.control.Label
 * @extends Ext.form.Label
 * @since 1.0
 */
Ext.define('cceaf.control.Label',{
	extend: 'Ext.form.Label', 
	requires: [
   	    'cceaf.ControlDefaultConfig'
    ],
    alias: 'widget.cceaflabel',

    constructor: function(config){
		config = config || {};
		
//		var html = config.html;

		//html = cceaf.util.ExtHelper.getHtmlSpace(2*(6-size)) + html + cceaf.util.ExtHelper.getHtmlSpace(1);
		
		var defaultLabelWidth = cceaf.ControlDefaultConfig.DEFAULT_LABEL_WIDTH;
		config = Ext.applyIf(config || {}, {
			//html: html,
			width: defaultLabelWidth,
			frame: true
		});

		cceaf.control.Label.superclass.constructor.apply(this, arguments);
	}
	
});